package com.central.apps.service;

import com.central.apps.entity.CostAttribute;

public interface CostOccupyService {

    /**
     * 成本占用或释放
     *
     * @param costAttribute
     * @param flag
     */
    void costOccupyRelease(CostAttribute costAttribute, boolean flag) throws Exception;

    /**
     * 成本判断
     *
     * @param costAttribute
     * @return String
     */
    String judgeCostEnough(CostAttribute costAttribute) throws Exception;
}
